package mains;

import cartes.Carte;

import cartes.Denomination;

import mains.RangPoker;
import mains.ReqAnalyseMain;

import rangs.RangCarre;
import rangs.RangCarteSuperieure;

public class CarteSuperieure extends AbstractAnalyseurRang{
	public CarteSuperieure() {
		super();
	}

	public boolean reconnaitreMain(ReqAnalyseMain requete) {
		RangCarteSuperieure cs = new RangCarteSuperieure();
		
		Main reste = requete.getMain();
		cs.setReste(reste);
  
		requete.setRangReconnu(cs);
		return true;
	}
	
	public RangPoker getRang() {
		return RangPoker.CARTE_SUPERIEURE;
	}
}
